.class Lcom/example/m6shop/FramentOrder2$6;
.super Ljava/lang/Object;
.source "FramentOrder2.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/FramentOrder2;->selectedGoodsType(I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/FramentOrder2;

.field private final synthetic val$rootView:Landroid/view/View;


# direct methods
.method constructor <init>(Lcom/example/m6shop/FramentOrder2;Landroid/view/View;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    iput-object p2, p0, Lcom/example/m6shop/FramentOrder2$6;->val$rootView:Landroid/view/View;

    .line 514
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 7
    .param p1, "arg0"    # Landroid/view/View;

    .prologue
    const v6, 0x7f07019a

    .line 519
    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->beans2:Ljava/util/ArrayList;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$1(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v4}, Ljava/util/ArrayList;->clear()V

    .line 521
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/Integer;

    invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I

    move-result v1

    .line 523
    .local v1, "idi":I
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->shoptype2Views:Ljava/util/ArrayList;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$27(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-lt v0, v4, :cond_0

    .line 531
    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->val$rootView:Landroid/view/View;

    invoke-virtual {v4, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 532
    .local v3, "textView":Landroid/widget/TextView;
    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$0(Lcom/example/m6shop/FramentOrder2;)Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f0200a3

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setBackground(Landroid/graphics/drawable/Drawable;)V

    .line 533
    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$0(Lcom/example/m6shop/FramentOrder2;)Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f080001

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getColor(I)I

    move-result v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setTextColor(I)V

    .line 535
    const/4 v2, 0x0

    .local v2, "k":I
    :goto_1
    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->GoodsBean2s:Ljava/util/ArrayList;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$10(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-lt v2, v4, :cond_1

    .line 548
    const-string v4, "Shumu"

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v6, "fsdfdsf"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v6, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->beans2:Ljava/util/ArrayList;
    invoke-static {v6}, Lcom/example/m6shop/FramentOrder2;->access$1(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v6

    invoke-virtual {v6}, Ljava/util/ArrayList;->size()I

    move-result v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014get"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 552
    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->adapter:Lcom/example/m6shop/FramentOrder2$GoodsAdapter;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$14(Lcom/example/m6shop/FramentOrder2;)Lcom/example/m6shop/FramentOrder2$GoodsAdapter;

    move-result-object v4

    invoke-virtual {v4}, Lcom/example/m6shop/FramentOrder2$GoodsAdapter;->notifyDataSetChanged()V

    .line 554
    return-void

    .line 525
    .end local v2    # "k":I
    .end local v3    # "textView":Landroid/widget/TextView;
    :cond_0
    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->shoptype2Views:Ljava/util/ArrayList;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$27(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Landroid/view/View;

    invoke-virtual {v4, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 526
    .restart local v3    # "textView":Landroid/widget/TextView;
    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$0(Lcom/example/m6shop/FramentOrder2;)Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f0200a4

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setBackground(Landroid/graphics/drawable/Drawable;)V

    .line 527
    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$0(Lcom/example/m6shop/FramentOrder2;)Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v4}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f080006

    invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getColor(I)I

    move-result v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setTextColor(I)V

    .line 523
    add-int/lit8 v0, v0, 0x1

    goto/16 :goto_0

    .line 539
    .restart local v2    # "k":I
    :cond_1
    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->GoodsBean2s:Ljava/util/ArrayList;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$10(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/example/m6shop/GoodsBean2;

    invoke-virtual {v4}, Lcom/example/m6shop/GoodsBean2;->getParent_id2()Ljava/lang/String;

    move-result-object v5

    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->shoptype2:Ljava/util/ArrayList;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$11(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v4, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lbean/ShoptypeBean;

    invoke-virtual {v4}, Lbean/ShoptypeBean;->getId()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v5, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_2

    .line 541
    const-string v5, ">>>>>>id<<<<<<<"

    new-instance v6, Ljava/lang/StringBuilder;

    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->GoodsBean2s:Ljava/util/ArrayList;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$10(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/example/m6shop/GoodsBean2;

    invoke-virtual {v4}, Lcom/example/m6shop/GoodsBean2;->getParent_id2()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v6, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "|"

    invoke-virtual {v6, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->shoptype2:Ljava/util/ArrayList;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$11(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v4, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lbean/ShoptypeBean;

    invoke-virtual {v4}, Lbean/ShoptypeBean;->getId()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v6, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v5, v4}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 543
    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->beans2:Ljava/util/ArrayList;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$1(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v5

    iget-object v4, p0, Lcom/example/m6shop/FramentOrder2$6;->this$0:Lcom/example/m6shop/FramentOrder2;

    # getter for: Lcom/example/m6shop/FramentOrder2;->GoodsBean2s:Ljava/util/ArrayList;
    invoke-static {v4}, Lcom/example/m6shop/FramentOrder2;->access$10(Lcom/example/m6shop/FramentOrder2;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/example/m6shop/GoodsBean2;

    invoke-virtual {v5, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 535
    :cond_2
    add-int/lit8 v2, v2, 0x1

    goto/16 :goto_1
.end method
